package com.lzy.product.apis;

import com.github.pagehelper.PageInfo;
import com.lzy.framework.core.orm.db.Pager;
import com.lzy.product.dtos.ProductSaleLevelDto;

/**
 * Created by WIN7 on 2017/12/11.
 */
public interface ProductSaleLevelServiceApi extends BaseServiceApi<ProductSaleLevelDto> {

    /**
     * 分页获取开通下级列表信息
     *
     * @param pager
     * @param dto
     * @return
     */
    PageInfo<ProductSaleLevelDto> selectList(Pager pager, ProductSaleLevelDto dto);

    /**
     * 批量移除下级信息
     *
     * @param ids 多个id字符串 如：3,4,5,8
     * @return
     */
    Integer updateList(String ids);
}
